
var Remind_list = [{
	"name": "check",
	"id": 0,
	"title": "周期检查到期",
	"recordNum":0,
	"url":"UI/Common/Remind/RemindCheck.html",
	
}, {
	"name": "contractBoost",
	"id": 1,
	"title": "长期合同到期",
	"recordNum":0,
	"url":"UI/Common/Remind/RemindContractBoost.html",
}, {
	"name": "contractShort",
	"id": 2,
	"title": "短期合同到期",
	"recordNum":0,
	"url":"UI/Common/Remind/RemindContractShort.html",
	
},
{
	"name": "frozen",
	"id": 3,
	"title": "气调库包库到期",
	"recordNum":0,
	"url":"UI/Common/Remind/RemindFrozen.html",
},];

var gRemindData = new Array();
var CHECK_DATA = 0;
var CONTRACT_BOOST_DATA = 1;
var CONTRACT_SHORT_DATA = 2;
var FROZEN_DATA = 3;

function getRemindData() {
	var recordNum = 0;
	for(var i = 0; i < Remind_list.length; i++) {
		gRemindData[i] = new Object();
		var s = localStorage.getItem(Remind_list[i].name);
		if(s != null) {
			gRemindData[i] = JSON.parse(s);
			Remind_list[i].recordNum= gRemindData[i].length;
		}

	}
	return Remind_list;
}